﻿<Window x:Class="P2.Cuberry.CuberrySplash"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"    
    WindowStartupLocation="CenterScreen" 
        Title="Peacequare - Cuberry" 
        Icon="/P2.Cuberry;component/Images/CuberryIcon32.ico"
    Height="302" Width="745">
    
    <Window.Style>
        <Style TargetType="{x:Type Window}">
            <Setter Property="Topmost" Value="True"/>
            <Setter Property="ShowInTaskbar" Value="False"/>
            <Setter Property="WindowStyle" Value="None" />
            <Setter Property="ResizeMode" Value="NoResize"/>
            <Setter Property="AllowsTransparency" Value="True"/>
            <Setter Property="Template">
                <Setter.Value>
                    <ControlTemplate TargetType="{x:Type Window}">
                        <Border ClipToBounds="True" CornerRadius="8,8,8,8" BorderThickness="2,2,2,2" Background="White">
                            <Grid ClipToBounds="True">
                                <AdornerDecorator>
                                    <ContentPresenter Content="{TemplateBinding Content}"/>
                                </AdornerDecorator>
                            </Grid>
                            <Border.BorderBrush>
                                <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                                    <GradientStop Color="White" Offset="0" />
                                    <GradientStop Color="#FF9D1D84" Offset="0.5" />
                                    <GradientStop Color="#FF9D1E85" Offset="1" />
                                </LinearGradientBrush>
                            </Border.BorderBrush>
                        </Border>
                    </ControlTemplate>
                </Setter.Value>
            </Setter>
        </Style>
    </Window.Style>
    <Grid>
        <Image Source="/P2.Cuberry;component/CuberrySplash.png" />
        <Label Name="statuslbl" Content="" FontSize="15" FontWeight="Bold" Foreground="White" Margin="5,0,0,0" Height="30" VerticalAlignment="Bottom" HorizontalAlignment="Left" Width="207" />        
    </Grid>
</Window>

